package work01;

public class Test {
    public static void main(String[] args) {
        Shapes[] arr =new Shapes[3];
        arr[0] = new Rectangle();
        arr[1] = new Circle();
        arr[2] = new Triagle();
        Shapes x=arr[0];
        x.c(4,5);
    }

}
